The dialog is the one where the user is given a number of options to get going again, such as moving the a safe Z, then back to original X,Y etc. This dialog only appears if the axes were jogged (if I remember correctly, I am not at the machine right now to confirm this).
Basically, what I am really after is a way to determine whether the PC program is sending move commands and, if so, some way to "veto" that movement if the machine is not ready. This could be something running on the Kflop itself, or I don't mind if it is something on the PC side which examines a flag (like an I/O bit) that has the same veto effect. Or maybe the PC could run a Kflop thread before resuming, and check the result before actually sending the next motion commands.
Putting it yet another way: I wish to be able to "lock" motion originating from g-code, without using DisableAxis() or similar events which disrupt the g-code program execution.
Maybe feed hold would help do this, but the user can still hit the button to un-feed-hold, which has the same lack of check to see if things can proceed safely (or at least I don't know how to do this with KMotion-CNC). Although one could argue that the user needs to sort this out, I would still like to make this as bullet-proof as possible (especially given that the spindle might cost as much as a new Escalade :-)
Regards,
SJH